﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            NPc1 a1 = new NPc1("小白",NPCType.Task, "去野外帮我挖萝卜");
            a1.Speak();
            NPc1 a2 = new NPc1("小白",NPCType.Task,"去西城送信");
            a2.Speak();
            NPc1 a3 = new NPc1("小白",NPCType.Task,"去杀怪");
            a3.Speak();
            Console.WriteLine("--------------------------------------");
            NPc2 b1 = new NPc2("小商", NPCType.Shop, "我这有武器");
            b1.Speak();
            NPc2 b2 = new NPc2("小商",NPCType.Shop,"我这有材料");
            b2.Speak();
            NPc2 b3 = new NPc2("小商", NPCType.Shop, "我这有食物");
            b3.Speak();
            Console.WriteLine("------------------------------");
            NPc3 c1 = new NPc3("小匠",NPCType.Iron,"修补武器");
            c1.Speak();
            NPc3 c2 = new NPc3("小匠", NPCType.Iron, "强化武器");
            c2.Speak();
            NPc3 c3 = new NPc3("小匠",NPCType.Iron,"打造武器");
            c3.Speak();
        }
    }
}
